package com.open.capacity.reimburse.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 发票
 *
 * @author
 * @email
 * @date 2021-03-05 07:24:19
 */

@Data
public class SysInvoice implements Serializable {
    private static final long serialVersionUID = 1L;


    private String id;

    private String processId;

    @TableField(exist = false)
    private String processCode;

    @TableField(exist = false)
    private String processName;

    private String name;

    private String ext;

    private String url;

    private String code;

    private String number;

    private String checkCode;

    private String date;

    private BigDecimal amount;

    private BigDecimal tax;

    private String detailJson;

    private String purchaserCode;

    private String purchaserName;

    private String sellerCode;

    private String sellerName;

    private String sellerAddress;

    private Integer pdfResult;

    private Integer imgResult;

    private Integer isVerify;

    private Integer isDuplicate;

    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String createUserid;

    private String createUsername;

    @JsonFormat(timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String updateUserid;

    private String updateUsername;

}
